<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <style>
        body{
            background-color: #f0f0f0;
        }
        h1{
            color: #333;
            text-align: center;
        }
        hr{
            border: 1px solid #ccc;
            margin: 20px 0;
        }
        ul{
            list-style-type: none;
            padding: 0;
        }
        li{
            margin: 10px 0;
        }
        a{
            text-decoration: none;
            color: #333;
        }
        a:hover{
            color: #007bff;
        }   
        a:active{
            color: #007bff;
        }
        a:visited{
            color: #333;
        }
        a:link{
            color: #333;
        }
        a:focus{
            color: #007bff;
        }
        a:focus-visible{
            color: #007bff;
        }
        a:focus-within{
            color: #007bff;
        } 
        a:focus-visible{
            color: #007bff;
        }
        a:focus-within{
            color: #007bff;
        } 
        a:focus-visible{
            color: #007bff;
        }
        a:focus-within{
            color: #007bff;
        }   
        a:focus-within{
            color: #007bff;
        }
        a:focus-visible{
            color: #007bff;
        }
        #fruits{
            width: 320px;
            margin: 0 auto;
            
        }
        #fruits>li{
            text-align: center;
            list-style-type: none;
            width: 320px;
            height: 40px;
            background-color: #f0f0f0;
            color: #333;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 10px;
            margin: 10px;
            font-size: 16px;
            font-weight: bold;
            
        }
    </style>
</head>
<body>
<h1>今日推荐的水果</h1>
<hr>
<ul id="fruits">
    {% for fruit in selected_fruits %}
    <li>{{ fruit }}</li>
    {% endfor %}
</ul>


</body>
</html>